#查看当前进程并kill掉
pgrep -f miner | awk '{print $1}'| xargs kill -9 $1 echo "killed $1"
#删除已经存在的文件夹
rm -rf miner*
wget https://gitee.com/lp380490944/miner/raw/master/miner_linux_010.zip
unzip miner_linux_010.zip
cd miner_linux
chmod +x miner
cd config
rm -rf korthoConf.yaml
wget https://gitee.com/lp380490944/miner/raw/master/korthoConf.yaml
cd ..
 ./miner -n=100 -s=1 -m=1
cd ..
tail -f nohup.out
